package com.lujieni.k8sprovider.service.impl;

import com.lujieni.k8sprovider.dao.StudentDao;
import com.lujieni.k8sprovider.po.StudentPO;
import com.lujieni.k8sprovider.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements IStudentService {

    @Autowired
    private StudentDao studentDao;

    public List<StudentPO> findAllStudent() {
        return studentDao.selectAll();
    }

}
